#include<iostream.h>
#include<fstream.h>
#include<iomanip.h>
#include<stdio.h>
#include<conio.h>
#include"date.cpp"

int main()
{
	char ch;
	int num;
	clrscr();
	cout<<"\n\n\n\tMeniu";
	cout<<"\n\n\t1.Creaza Studentul";
	cout<<"\n\n\t2.Arata toti studenti";
	cout<<"\n\n\t3.Cauta datele studentului ";
	cout<<"\n\n\t4.Modifica datele studentului";
	cout<<"\n\n\t5.Sterge datele studentului";
	cout<<"\n\n\t6.EXIT";
	cout<<"\n\n\tIntroduceti alegerea dorita (1-6) ";
	cin>>ch;
	clrscr();
	switch(ch)
	{
	case '1':	student(); break;
	case '2':	display(); break;
	case '3':	cout<<"\n\n\tPlease Enter The roll number "; cin>>num;
			display_sp(num); break;
	case '4':	cout<<"\n\n\tPlease Enter The roll number "; cin>>num;
			modify_student(num);break;
	case '5':	cout<<"\n\n\tPlease Enter The roll number "; cin>>num;
			delete_student(num);break;
	case '6':	break;
}

